package com.xmall.pethouse_api.pojo.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class Pet implements Serializable {
    //宠物ID
    private Long id;

    //主人ID
    private Long ownerId;

    //宠物名称
    private String name;

    //宠物类型
    private String type;

    //品种
    private String breed;

    //年龄
    private Integer age;

    //性别（0:未知 1:公 2:母）
    private Integer gender;

    //体重(kg)
    private Double weight;

    //照片URLs（JSON数组）
    private String photoUrls;

    //创建时间
    private LocalDateTime createdAt;

    //更新时间
    private LocalDateTime updatedAt;
}    